Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

interface Microsoft.​Extensions.​Caching.​Hybrid.​IHybridCacheSerializer<​T>

Assembly: Microsoft.Extensions.Caching.Abstractions

Provides per-type serialization and deserialization support for <see cref="T:Microsoft.Extensions.Caching.Hybrid.HybridCache" /> .

Methods

T
Deserialize​(System.​Buffers.​ReadOnlySequence<​byte> source)
Deserializes a <typeparamref name="T" /> value from the provided <paramref name="source" /> .
void
Serialize​(T value, System.​Buffers.​IBufferWriter<​byte> target)
Serializes <paramref name="value" /> to the provided <paramref name="target" /> .